package com.lzm.ydpt.mvp.modelimpl;

import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.google.gson.JsonObject;
import com.lzm.ydpt.mvp.api.APIManager;
import com.lzm.ydpt.mvp.contract.DiscountActionContract;

import io.reactivex.Observable;

/**
 * 类名称：DiscountActionModelImpl
 * 类描述：模型实现
 */
public class DiscountActionModelImpl implements DiscountActionContract.Model {

    @Override
    public Observable<BaseResponseBean<JsonObject>> onDiscountAction() {
        return APIManager.getInstance().getAPIService().onDiscountAction();
    }
}